{extend name="$_admin_base_layout" /}

{block name="page-header"}{/block}

{block name="content"}

<div class="row">
    <div class="col-md-12">
        <div class="block block-bordered">
            <div class="block-header bg-gray-lighter">
                <h3 class="block-title">个人信息</h3>
            </div>
            <div class="block-content">
                <div class="row">
                    <div class="col-xs-6 col-sm-4 col-lg-2">
                        <a class="block block-link-hover3 text-center"">
                        <div class="block-content block-content-full">
                            <i class="fa fa-plus fa-3x fa-phone"></i>
                            <div class="font-w600 push-15-t">手机:{$member.phone}</div>
                            <div class="font-w600 push-15-t">
                                支付宝:{$paymentConf.aliplay_name}-{$paymentConf.aliplay_account}
                            </div>
                            <div class="font-w600 push-15-t">
                                银行卡:{$paymentConf.bank_ture_name}-{$paymentConf.bank_name}-{$paymentConf.bank_card_number}
                            </div>
                        </div>
                        </a>
                    </div>
                    <div class="col-xs-6 col-sm-4 col-lg-2">
                        <a class="block block-link-hover3 text-center">
                            <div class="block-content block-content-full">
                                <i class="fa fa-plus fa-3x fa-dollar"></i>
                                <div class="font-w600 push-15-t">钱包:{$payment_wallet.money/100}</div>
                            </div>
                        </a>
                    </div>
                    <div class="col-xs-6 col-sm-4 col-lg-2">
                        <a class="block block-link-hover3 text-center">
                            <div class="block-content block-content-full">
                                <i class="fa fa-plus fa-3x fa-money"></i>
                                <div class="font-w600 push-15-t">积分:{$payment_wallet.point/100}</div>
                            </div>
                        </a>
                    </div>
                    <div class="col-xs-6 col-sm-4 col-lg-2">
                        <a class="block block-link-hover3 text-center">
                            <div class="block-content block-content-full">
                                <i class="fa fa-commenting fa-3x text-muted"></i>

                                <div class="font-w600 push-15-t">商品:{$base_wallet_product.1}</div>
                                <div class="font-w600 push-15-t">锁仓:{$base_wallet_product.2}</div>
                                <div class="font-w600 push-15-t">奖励:{$base_wallet_product.3/100}</div>
                            </div>
                        </a>
                    </div>
                    <div class="col-xs-6 col-sm-4 col-lg-2">
                        <a class="block block-link-hover3 text-center">
                            <div class="block-content block-content-full">
                                <i class="fa fa-handshake-o fa-3x text-muted"></i>
                                <div class="font-w600 push-15-t">所属分组:{$group.phone}</div>
                            </div>
                        </a>
                    </div>
                    <div class="col-xs-6 col-sm-4 col-lg-2">
                        <a class="block block-link-hover3 text-center">
                            <div class="block-content block-content-full">
                                <i class="fa fa-link fa-3x text-muted"></i>
                                <div class="font-w600 push-15-t">
                                    <div class="font-w600 push-15-t">注册时间:{$member.create_time|format_dates}</div>
                                </div>
                            </div>
                        </a>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<div class="row">
    <div class="col-sm-6 col-md-3">
        <a class="block block-link-hover3 text-center" href="{:url('face2market/order/index')}">
            <div class="block-content block-content-full">
                <div class="h1 font-w700 text-primary" data-toggle="countTo" data-to="0">
                    {$order.statistics.buy_money/100}
                </div>
            </div>
            <div class="block-content block-content-full block-content-mini bg-gray-lighter text-muted font-w600">总买入金额
            </div>
        </a>
    </div>
    <div class="col-sm-6 col-md-3">
        <a class="block block-link-hover3 text-center" href="{:url('face2market/order/index')}">
            <div class="block-content block-content-full">
                <div class="h1 font-w700 text-success" data-toggle="countTo" data-to="1">{$order.statistics.buy_pro}
                </div>
            </div>
            <div class="block-content block-content-full block-content-mini bg-gray-lighter text-muted font-w600">总买入数量
            </div>
        </a>
    </div>
    <div class="col-sm-6 col-md-3">
        <a class="block block-link-hover3 text-center" href="{:url('face2market/order/index')}">
            <div class="block-content block-content-full">
                <div class="h1 font-w700 text-info" data-toggle="countTo" data-to="2">
                    {$order.statistics.seller_money/100}
                </div>
            </div>
            <div class="block-content block-content-full block-content-mini bg-gray-lighter text-muted font-w600">总卖出金额
            </div>
        </a>
    </div>
    <div class="col-sm-6 col-md-3">
        <a class="block block-link-hover3 text-center" href="{:url('face2market/order/index')}">
            <div class="block-content block-content-full">
                <div class="h1 font-w700 text-warning"><span data-toggle="countTo" data-to="1">{$order.statistics.seller_pro}</span>
                </div>
            </div>
            <div class="block-content block-content-full block-content-mini bg-gray-lighter text-muted font-w600">总卖出数量
            </div>
        </a>
    </div>
</div>
<div class="row">
    <div class="col-sm-6 col-md-3">
        <a class="block block-link-hover3 text-center" href="{:url('payment/topup/index')}">
            <div class="block-content block-content-full">
                <div class="h1 font-w700 text-primary" data-toggle="countTo" data-to="0">
                    {$order_limit.statistics.buy_pro}
                </div>
            </div>
            <div class="block-content block-content-full block-content-mini bg-gray-lighter text-muted font-w600">挂单总数
            </div>
        </a>
    </div>
    <div class="col-sm-6 col-md-3">
        <a class="block block-link-hover3 text-center" href="{:url('payment/withdrawratio/index')}">
            <div class="block-content block-content-full">
                <div class="h1 font-w700 text-success" data-toggle="countTo" data-to="1">
                    {$order_limit.statistics.buy_money/100}
                </div>
            </div>
            <div class="block-content block-content-full block-content-mini bg-gray-lighter text-muted font-w600">挂单总额
            </div>
        </a>
    </div>
    <div class="col-sm-6 col-md-3">
        <a class="block block-link-hover3 text-center" href="#">
            <div class="block-content block-content-full">
                <div class="h1 font-w700 text-info" data-toggle="countTo" data-to="2">
                    {$order.statistics.buy_age}
                </div>
            </div>
            <div class="block-content block-content-full block-content-mini bg-gray-lighter text-muted font-w600">买入均价
            </div>
        </a>
    </div>
    <div class="col-sm-6 col-md-3">
        <a class="block block-link-hover3 text-center" href="#">
            <div class="block-content block-content-full">
                <div class="h1 font-w700 text-info" data-toggle="countTo" data-to="3">
                    {$order.statistics.seller_age}
                </div>
            </div>
            <div class="block-content block-content-full block-content-mini bg-gray-lighter text-muted font-w600">卖出均价
            </div>
        </a>
    </div>

</div>
<div class="row">
    <div class="col-sm-6 col-md-3">
        <a class="block block-link-hover3 text-center" href="{:url('payment/topup/index')}">
            <div class="block-content block-content-full">
                <div class="h1 font-w700 text-primary" data-toggle="countTo" data-to="0">
                    {$shareReward.num}
                </div>
            </div>
            <div class="block-content block-content-full block-content-mini bg-gray-lighter text-muted font-w600">分享人数
            </div>
        </a>
    </div>
    <div class="col-sm-6 col-md-3">
        <a class="block block-link-hover3 text-center" href="{:url('payment/withdrawratio/index')}">
            <div class="block-content block-content-full">
                <div class="h1 font-w700 text-success" data-toggle="countTo" data-to="1">
                    {$shareReward.buy_num}
                </div>
            </div>
            <div class="block-content block-content-full block-content-mini bg-gray-lighter text-muted font-w600">购买人数
            </div>
        </a>
    </div>
    <div class="col-sm-6 col-md-3">
        <a class="block block-link-hover3 text-center" href="#">
            <div class="block-content block-content-full">
                <div class="h1 font-w700 text-info" data-toggle="countTo" data-to="2">
                    {$shareReward.reward}
                </div>
            </div>
            <div class="block-content block-content-full block-content-mini bg-gray-lighter text-muted font-w600">分享奖励
            </div>
        </a>
    </div>
    <div class="col-sm-6 col-md-3">
        <a class="block block-link-hover3 text-center" href="#">
            <div class="block-content block-content-full">
                <div class="h1 font-w700 text-info" data-toggle="countTo" data-to="3">
                    <!--{$order.statistics.seller_age}-->
                </div>
            </div>
            <div class="block-content block-content-full block-content-mini bg-gray-lighter text-muted font-w600">
            </div>
        </a>
    </div>

</div>
<div class="row">
    <div class="col-sm-6 col-md-3">
        <a class="block block-link-hover3 text-center" href="{:url('payment/topup/index')}">
            <div class="block-content block-content-full">
                <div class="h1 font-w700 text-primary" data-toggle="countTo" data-to="0">
                    {$query_data.get_member_topup/100}
                </div>
            </div>
            <div class="block-content block-content-full block-content-mini bg-gray-lighter text-muted font-w600">充值总额
            </div>
        </a>
    </div>
    <div class="col-sm-6 col-md-3">
        <a class="block block-link-hover3 text-center" href="{:url('payment/withdrawratio/index')}">
            <div class="block-content block-content-full">
                <div class="h1 font-w700 text-success" data-toggle="countTo" data-to="1">
                    {$query_data.get_withdraw/100}
                </div>
            </div>
            <div class="block-content block-content-full block-content-mini bg-gray-lighter text-muted font-w600">提现总额
            </div>
        </a>
    </div>
    <div class="col-sm-6 col-md-6">
        <a class="block block-link-hover3 text-center" href="#">
            <div class="block-content block-content-full">
                <div class="h1 font-w700 text-info" data-toggle="countTo" data-to="2">
                    {$query_data.get_member_topup/100} - {$query_data.get_face2market_order.buy_money/100} +
                    {$query_data.get_face2market_order.seller_money/100} - {$query_data.get_order_limit.buy_money/100} -
                    {$query_data.get_withdraw/100} - {$query_data.get_payment_wallet.money/100}
                    =
                    {$query_data.assets_check}
                </div>
            </div>
            <div class="block-content block-content-full block-content-mini bg-gray-lighter text-muted font-w600">总卖出金额
            </div>
        </a>
    </div>
    <!--<div class="col-sm-6 col-md-3">-->
    <!--<a class="block block-link-hover3 text-center" href="#">-->
    <!--<div class="block-content block-content-full">-->
    <!--<div class="h1 font-w700 text-warning"><span data-toggle="countTo" data-to="1">{$order.statistics.seller_pro}</span></div>-->
    <!--</div>-->
    <!--<div class="block-content block-content-full block-content-mini bg-gray-lighter text-muted font-w600">总卖出数量-->
    <!--</div>-->
    <!--</a>-->
    <!--</div>-->
</div>


<div class="row">
    <div class="col-md-10">
        <div class="block">
            <div class="block-header bg-gray-lighter">
                <ul class="block-options">
                    <!--<li>-->
                    <!--	<button type="button" class="page-reload"><i class="si si-refresh"></i></button>-->
                    <!--</li>-->
                    <li>
                        <button type="button" data-toggle="block-option" data-action="fullscreen_toggle"><i
                                class="si si-size-fullscreen"></i></button>
                    </li>
                </ul>
                <a class="block block-link-hover3 text-center"
                   href="{:url('face2market/order/index',['phone'=>$member['phone']])}">
                    <h3 class="block-title">点击查看交易订单</h3>
                </a>
            </div>
            <div class="block-content tab-content">
                <div class="tab-pane active">

                    <div class="row data-table-toolbar">
                        <div class="col-sm-12">
                            <div class="toolbar-btn-action">
                            </div>
                        </div>
                    </div>
                    <div class="builder-table-wrapper" style="max-height: 607px;">
                        <div class="builder-table">
                            <div class="builder-table-head" style="margin-right: 17px;">
                                <table class="table table-builder table-hover table-bordered table-striped js-table-checkable"
                                       style="width: 1112px;">
                                    <thead>
                                    <tr>
                                        <th>时间</th>
                                        <th> 数量</th>
                                        <th> 单价</th>
                                        <th> 方向</th>
                                    </tr>
                                    </thead>
                                    <tbody>
                                    {volist name="order.data" id="vo"}
                                    <tr class="" id="builder-table-main-tr">
                                        <td class=" ">
                                            <div class="table-cell">
                                                {$vo.create_time|format_dates}
                                            </div>
                                        </td>
                                        <td class=" ">
                                            <div class="table-cell">
                                                {$vo.number}
                                            </div>
                                        </td>
                                        <td class=" ">
                                            <div class="table-cell">
                                                {$vo.price/100}
                                            </div>
                                        </td>
                                        <!--<td class=" ">-->
                                        <!--<div class="table-cell">-->
                                        <!--{$vo.amount/100}-->
                                        <!--</div>-->
                                        <!--</td>-->

                                        <td class=" ">
                                            <div class="table-cell">
                                                {if condition="($vo.status == 1)"} <span style="color: green">卖出</span>
                                                {else /} <span style="color: red">买入</span>
                                                {/if}
                                            </div>
                                        </td>

                                    </tr>
                                    {/volist}
                                    </tbody>
                                </table>
                            </div>
                        </div>
                    </div>
                    <div class="data-table-toolbar">
                        <div class="row">
                            <div class="col-sm-12">
                                <div class="pagination-info pull-right">
                                    <div>
                                        <strong>10</strong> 页，共 <strong>191</strong> 条数据，每页显示数量
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>


    <div class="col-md-10">
        <div class="block">
            <div class="block-header bg-gray-lighter">
                <ul class="block-options">
                    <li>
                        <button type="button" data-toggle="block-option" data-action="fullscreen_toggle"><i
                                class="si si-size-fullscreen"></i></button>
                    </li>
                </ul>
                <h3 class="block-title">挂单记录</h3>
            </div>
            <div class="block-content tab-content">
                <div class="tab-pane active">

                    <div class="row data-table-toolbar">
                        <div class="col-sm-12">
                            <div class="toolbar-btn-action">
                            </div>
                        </div>
                    </div>
                    <div class="builder-table-wrapper" style="max-height: 607px;">
                        <div class="builder-table">
                            <div class="builder-table-head" style="margin-right: 17px;">
                                <table class="table table-builder table-hover table-bordered table-striped js-table-checkable"
                                       style="width: 1112px;">
                                    <thead>
                                    <tr>
                                        <th>时间</th>
                                        <th> 数量</th>
                                        <th> 已成交数量</th>
                                        <th> 剩余数量</th>
                                        <th> 单价</th>
                                        <th>状态</th>

                                    </tr>
                                    </thead>
                                    <tbody>
                                    {volist name="order_limit.data" id="vo"}
                                    <tr>
                                        <td class=" ">
                                            <div class="table-cell">
                                                {$vo.create_time|format_dates}
                                            </div>
                                        </td>
                                        <td class=" ">
                                            <div class="table-cell">
                                                {$vo.amount_number}
                                            </div>
                                        </td>
                                        <td class=" ">
                                            <div class="table-cell">
                                                {$vo.trade_number}
                                            </div>
                                        </td>
                                        <td class=" ">
                                            <div class="table-cell">
                                                {$vo.residue_number}
                                            </div>
                                        </td>
                                        <td class=" ">
                                            <div class="table-cell">
                                                {$vo.price/100}
                                            </div>
                                        </td>
                                        <td class=" ">
                                            {if condition="($vo.status == 1)"} <span style="color: green">卖出</span>
                                            {else /} <span style="color: red">买入</span>
                                            {/if}
                                        </td>
                                    </tr>
                                    {/volist}
                                    </tbody>
                                </table>
                            </div>
                        </div>
                    </div>
                    <div class="data-table-toolbar">
                        <div class="row">
                            <div class="col-sm-12">
                                <div class="pagination-info pull-right">
                                    <div>
                                        <strong>10</strong> 页，共 <strong>191</strong> 条数据，每页显示数量
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="col-md-6">
        <div class="block">
            <div class="block-header bg-gray-lighter">
                <ul class="block-options">
                    <!--<li>-->
                    <!--	<button type="button" class="page-reload"><i class="si si-refresh"></i></button>-->
                    <!--</li>-->
                    <li>
                        <button type="button" data-toggle="block-option" data-action="fullscreen_toggle"><i
                                class="si si-size-fullscreen"></i></button>
                    </li>
                </ul>
                <h3 class="block-title">充值记录</h3>
            </div>
            <div class="block-content tab-content">
                <div class="tab-pane active">

                    <div class="row data-table-toolbar">
                        <div class="col-sm-12">
                            <div class="toolbar-btn-action">
                            </div>
                        </div>
                    </div>
                    <div class="builder-table-wrapper" style="max-height: 607px;">
                        <div class="builder-table">
                            <div class="builder-table-head" style="margin-right: 17px;">
                                <table class="table table-builder table-hover table-bordered table-striped js-table-checkable"
                                       style="width: 1112px;">
                                    <thead>
                                    <tr>
                                        <th>时间</th>
                                        <th>金额</th>

                                    </tr>
                                    </thead>
                                    <tbody>
                                    {volist name="topup.data" id="vo"}
                                    <tr>
                                        <td class=" ">
                                            <div class="table-cell">
                                                {$vo.create_time|format_dates}
                                            </div>
                                        </td>
                                        <td class=" ">
                                            <div class="table-cell">
                                                {$vo.money/100}
                                            </div>
                                        </td>


                                    </tr>
                                    {/volist}
                                    </tbody>
                                </table>
                            </div>
                        </div>
                    </div>
                    <div class="data-table-toolbar">
                        <div class="row">
                            <div class="col-sm-12">
                                <div class="pagination-info pull-right">
                                    <div>
                                        <strong>10</strong> 页，共 <strong>191</strong> 条数据，每页显示数量
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="col-md-6">
        <div class="block">
            <div class="block-header bg-gray-lighter">
                <ul class="block-options">
                    <!--<li>-->
                    <!--	<button type="button" class="page-reload"><i class="si si-refresh"></i></button>-->
                    <!--</li>-->
                    <li>
                        <button type="button" data-toggle="block-option" data-action="fullscreen_toggle"><i
                                class="si si-size-fullscreen"></i></button>
                    </li>
                </ul>
                <h3 class="block-title">提现记录</h3>
            </div>
            <div class="block-content tab-content">
                <div class="tab-pane active">

                    <div class="row data-table-toolbar">
                        <div class="col-sm-12">
                            <div class="toolbar-btn-action">
                            </div>
                        </div>
                    </div>
                    <div class="builder-table-wrapper" style="max-height: 607px;">
                        <div class="builder-table">
                            <div class="builder-table-head" style="margin-right: 17px;">
                                <table class="table table-builder table-hover table-bordered table-striped js-table-checkable"
                                       style="width: 1112px;">
                                    <thead>
                                    <tr>
                                        <th>时间</th>
                                        <th> 类型</th>
                                        <th> 金额</th>
                                        <th> 手续费</th>
                                    </tr>
                                    </thead>
                                    <tbody>
                                    {volist name="withdraw.data" id="vo"}
                                    <tr class="" id="builder-table-main-tr">
                                        <td class=" ">
                                            <div class="table-cell">
                                                {$vo.create_time|format_dates}
                                            </div>
                                        </td>
                                        <td class=" ">
                                            <div class="table-cell">
                                                {$vo.type}
                                            </div>
                                        </td>
                                        <td class=" ">
                                            <div class="table-cell">
                                                {$vo.amount_money/100}
                                            </div>
                                        </td>
                                        <td class=" ">
                                            <div class="table-cell">
                                                {$vo.proc_fee/100}
                                            </div>
                                        </td>

                                    </tr>
                                    {/volist}
                                    </tbody>
                                </table>
                            </div>
                        </div>
                    </div>
                    <div class="data-table-toolbar">
                        <div class="row">
                            <div class="col-sm-12">
                                <div class="pagination-info pull-right">
                                    <div>
                                        <strong>10</strong> 页，共 <strong>191</strong> 条数据，每页显示数量
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

{/block}

{block name="script"}

{/block}